<template>
  {{ title }}
  <br>
  <el-button type="primary">Primary</el-button>
</template>

<script setup lang="ts">
import { ref } from 'vue'

// 变量
const title = ref('home') // 响应式数据依然需要ref
</script>
